<template>
	<EdgeWrapper :disabled="props.disabled">
		<span class="ellipsis">
			<a-tooltip title="a=5">
				<span>{{ properties.conditionStr }}</span>
			</a-tooltip>
		</span>
	</EdgeWrapper>
</template>

<script setup>
import { defineProps, onMounted, getCurrentInstance } from 'vue'
import EdgeWrapper from './edgeWrapper.vue'

const props = defineProps(['model', 'graphModel', 'isSelected', 'isHovered', 'disabled', 'properties', 'text'])
</script>

<style scoped lang="less">
.ellipsis {
	white-space: nowrap; /* 确保文本在一行内显示 */
	overflow: hidden; /* 隐藏溢出的内容 */
	text-overflow: ellipsis; /* 使用省略号表示溢出的文本 */
}
</style>
